package com.agileai.portal.bizmoduler.mobile;

import com.agileai.domain.DataParam;
import com.agileai.domain.DataRow;
import com.agileai.hotweb.bizmoduler.core.StandardServiceImpl;

public class AppModuleConfigManageImpl extends StandardServiceImpl
	implements AppModuleConfigManage{

	@Override
	public DataRow getUserAppConfig(DataParam queryParam) {
		String statementId = sqlNameSpace+"."+"getUserAppConfig";
		DataRow result = this.daoHelper.getRecord(statementId, queryParam);
		return result;
	}

	@Override
	public void saveAppModuleConfig(String appModuleConfig,String userId) {
		String statementId = sqlNameSpace+"."+"updateAppConfigRecord";
		DataParam param = new DataParam("APP_CONFIG",appModuleConfig,"USER_ID",userId);
		this.daoHelper.updateRecord(statementId, param);
	}

}
